<div class="tipoclientes view">
<h2><?php  echo __('Tipocliente'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($tipocliente['Tipocliente']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nome'); ?></dt>
		<dd>
			<?php echo h($tipocliente['Tipocliente']['nome']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($tipocliente['Tipocliente']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($tipocliente['Tipocliente']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Tipocliente'), array('action' => 'edit', $tipocliente['Tipocliente']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Tipocliente'), array('action' => 'delete', $tipocliente['Tipocliente']['id']), null, __('Are you sure you want to delete # %s?', $tipocliente['Tipocliente']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Tipoclientes'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tipocliente'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Categorias'), array('controller' => 'categorias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Categoria'), array('controller' => 'categorias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Clientes'), array('controller' => 'clientes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cliente'), array('controller' => 'clientes', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Categorias'); ?></h3>
	<?php if (!empty($tipocliente['Categoria'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Abreviacao'); ?></th>
		<th><?php echo __('Imgfaixapath'); ?></th>
		<th><?php echo __('Ordemexibicao'); ?></th>
		<th><?php echo __('Vencimentoopcional'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Tipocliente Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($tipocliente['Categoria'] as $categoria): ?>
		<tr>
			<td><?php echo $categoria['id']; ?></td>
			<td><?php echo $categoria['nome']; ?></td>
			<td><?php echo $categoria['abreviacao']; ?></td>
			<td><?php echo $categoria['imgfaixapath']; ?></td>
			<td><?php echo $categoria['ordemexibicao']; ?></td>
			<td><?php echo $categoria['vencimentoopcional']; ?></td>
			<td><?php echo $categoria['created']; ?></td>
			<td><?php echo $categoria['modified']; ?></td>
			<td><?php echo $categoria['tipocliente_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'categorias', 'action' => 'view', $categoria['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'categorias', 'action' => 'edit', $categoria['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'categorias', 'action' => 'delete', $categoria['id']), null, __('Are you sure you want to delete # %s?', $categoria['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Categoria'), array('controller' => 'categorias', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Clientes'); ?></h3>
	<?php if (!empty($tipocliente['Cliente'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Genero'); ?></th>
		<th><?php echo __('Estadocivil Id'); ?></th>
		<th><?php echo __('Rg'); ?></th>
		<th><?php echo __('Orgexp'); ?></th>
		<th><?php echo __('Cpf'); ?></th>
		<th><?php echo __('Datanasc'); ?></th>
		<th><?php echo __('Cep'); ?></th>
		<th><?php echo __('Endereco'); ?></th>
		<th><?php echo __('Bairro'); ?></th>
		<th><?php echo __('Cidade'); ?></th>
		<th><?php echo __('Uf Id'); ?></th>
		<th><?php echo __('Foneresidencial'); ?></th>
		<th><?php echo __('Fonecomercial'); ?></th>
		<th><?php echo __('Ramal'); ?></th>
		<th><?php echo __('Celular'); ?></th>
		<th><?php echo __('Email'); ?></th>
		<th><?php echo __('Email2'); ?></th>
		<th><?php echo __('Nomemae'); ?></th>
		<th><?php echo __('Lotacao'); ?></th>
		<th><?php echo __('Matricula'); ?></th>
		<th><?php echo __('Statusservidor Id'); ?></th>
		<th><?php echo __('Banco Id'); ?></th>
		<th><?php echo __('Agenciabancaria'); ?></th>
		<th><?php echo __('Contacorrente'); ?></th>
		<th><?php echo __('Corretor Id'); ?></th>
		<th><?php echo __('Planosaude Id'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Excluido'); ?></th>
		<th><?php echo __('Conferido'); ?></th>
		<th><?php echo __('Pago'); ?></th>
		<th><?php echo __('Finalizado'); ?></th>
		<th><?php echo __('Fpagamento Id'); ?></th>
		<th><?php echo __('Perfilservidor Id'); ?></th>
		<th><?php echo __('Tipocliente Id'); ?></th>
		<th><?php echo __('Numresidencia'); ?></th>
		<th><?php echo __('Complresidencia'); ?></th>
		<th><?php echo __('Orgao Id'); ?></th>
		<th><?php echo __('Nomeorgao'); ?></th>
		<th><?php echo __('Nomeempresa'); ?></th>
		<th><?php echo __('Endempresa'); ?></th>
		<th><?php echo __('Foneempresa'); ?></th>
		<th><?php echo __('Operadora Id'); ?></th>
		<th><?php echo __('Textofiliacao'); ?></th>
		<th><?php echo __('Planoodontologico Id'); ?></th>
		<th><?php echo __('Segurovida Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($tipocliente['Cliente'] as $cliente): ?>
		<tr>
			<td><?php echo $cliente['id']; ?></td>
			<td><?php echo $cliente['nome']; ?></td>
			<td><?php echo $cliente['genero']; ?></td>
			<td><?php echo $cliente['estadocivil_id']; ?></td>
			<td><?php echo $cliente['rg']; ?></td>
			<td><?php echo $cliente['orgexp']; ?></td>
			<td><?php echo $cliente['cpf']; ?></td>
			<td><?php echo $cliente['datanasc']; ?></td>
			<td><?php echo $cliente['cep']; ?></td>
			<td><?php echo $cliente['endereco']; ?></td>
			<td><?php echo $cliente['bairro']; ?></td>
			<td><?php echo $cliente['cidade']; ?></td>
			<td><?php echo $cliente['uf_id']; ?></td>
			<td><?php echo $cliente['foneresidencial']; ?></td>
			<td><?php echo $cliente['fonecomercial']; ?></td>
			<td><?php echo $cliente['ramal']; ?></td>
			<td><?php echo $cliente['celular']; ?></td>
			<td><?php echo $cliente['email']; ?></td>
			<td><?php echo $cliente['email2']; ?></td>
			<td><?php echo $cliente['nomemae']; ?></td>
			<td><?php echo $cliente['lotacao']; ?></td>
			<td><?php echo $cliente['matricula']; ?></td>
			<td><?php echo $cliente['statusservidor_id']; ?></td>
			<td><?php echo $cliente['banco_id']; ?></td>
			<td><?php echo $cliente['agenciabancaria']; ?></td>
			<td><?php echo $cliente['contacorrente']; ?></td>
			<td><?php echo $cliente['corretor_id']; ?></td>
			<td><?php echo $cliente['planosaude_id']; ?></td>
			<td><?php echo $cliente['created']; ?></td>
			<td><?php echo $cliente['modified']; ?></td>
			<td><?php echo $cliente['excluido']; ?></td>
			<td><?php echo $cliente['conferido']; ?></td>
			<td><?php echo $cliente['pago']; ?></td>
			<td><?php echo $cliente['finalizado']; ?></td>
			<td><?php echo $cliente['fpagamento_id']; ?></td>
			<td><?php echo $cliente['perfilservidor_id']; ?></td>
			<td><?php echo $cliente['tipocliente_id']; ?></td>
			<td><?php echo $cliente['numresidencia']; ?></td>
			<td><?php echo $cliente['complresidencia']; ?></td>
			<td><?php echo $cliente['orgao_id']; ?></td>
			<td><?php echo $cliente['nomeorgao']; ?></td>
			<td><?php echo $cliente['nomeempresa']; ?></td>
			<td><?php echo $cliente['endempresa']; ?></td>
			<td><?php echo $cliente['foneempresa']; ?></td>
			<td><?php echo $cliente['operadora_id']; ?></td>
			<td><?php echo $cliente['textofiliacao']; ?></td>
			<td><?php echo $cliente['planoodontologico_id']; ?></td>
			<td><?php echo $cliente['segurovida_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'clientes', 'action' => 'view', $cliente['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'clientes', 'action' => 'edit', $cliente['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'clientes', 'action' => 'delete', $cliente['id']), null, __('Are you sure you want to delete # %s?', $cliente['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Cliente'), array('controller' => 'clientes', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
